# Virtual Router Simulator 
#
# Copyright (C) 2009-2010 VRSim Project
# Author: Choonho Son <choonho@kt.com>
# URL: <http://vrsim.googlecode.com>
# For license information, see LICENSE.TXT
#

import VRSim.Globals as globals
from VRSim.Node.Server import Server
from VRSim.Node.Domain import Domain

class DHCP(Server, Domain):
    def __init__(self):
        Server.__init__(self)
        Domain.__init__(self,  vnc=True)
        self.model = "DHCP"
        self.hostname = "DHCP"     
    
    def updateHostname(self,  name):
        self.hostname = name
        self.name = name
        #update Domain name
        #self.domain.name = name
        
